package com.example.auth.mapper;

import com.example.auth.entity.SysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author SIE
* @description 针对表【sys_menu(菜单表)】的数据库操作Mapper
* @createDate 2023-07-07 13:05:31
* @Entity com.example.auth.entity.SysMenu
*/
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    List<String> findUserPermsList(@Param("userId") Long userId);

    void deleteRoleMenuByMenuId(@Param("menuId") Long menuId);

    List<SysMenu> getListByUserId(@Param("userId") Long userId);
}




